package com.example.chenz.alarmservice;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.widget.Toast;

/**
 * Created by chenz on 2017/9/22.
 */

public class NotifySeceive extends Service {
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    public void onCreate() {
        MainActivity app = MainActivity.getApp();
        app.btEvent("From NotifySeceive");
        Toast.makeText(this,"系统自带service",Toast.LENGTH_LONG).show();
    }
}
